package com.linkhub.oms.common.enums.mp;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: 提货状态枚举
 * @Author: echo
 * @Date: 2024/05/02 10:08
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum PickUpOrderStatusEnum implements IEnumConvert<Integer> {

    // 提货状态：1-待审核；2-生产中；3-运输中；4-入库中；5-已入库（已上架）；6-已取消;7-已完成

    PENDING_CHECK(1, "待审核"),
    IN_PRODUCTION(2, "生产中"),
    IN_TRANSIT(3, "运输中"),
    IN_STORAGE(4, "入库中"),
    BE_IN_STORAGE(5, "已入库"),
    CANCEL(6, "已取消"),
    FINISHED(7, "已完成"),
    ;

    @EnumValue
    private final Integer code;
    private final String desc;

}
